﻿using System.ComponentModel;

namespace Sorting.App.Models.Enum
{

    /// <summary>
    /// 事件总线消息类型枚举
    /// </summary>
    public enum EnumMessageType
    {

        #region  界面与界面模型操作


        /// <summary>
        /// 登录界面最小化
        /// </summary>
        ME100 = 100,


        /// <summary>
        /// 通知主界面解锁
        /// </summary>
        ME101 = 101,


        /// <summary>
        ///设备异常，全中断
        /// </summary>
        ME102 = 102,


        /// <summary>
        ///开启常驻监测
        /// </summary>
        ME103 = 103,
        
        /// <summary>
        /// 推送入队到扫描队列
        /// </summary>
        ME104=104,
        
        
        /// <summary>
        /// A模组有任务被处理，更新界面提示
        /// </summary>
        ME105=105,
        
        
        /// <summary>
        /// B模组有任务被处理，更新界面提示
        /// </summary>
        ME106=106,


        /// <summary>
        /// 任务处理时储位信息修改，重绘储位信息
        /// </summary>
        ME107=107,


        /// <summary>
        /// 有放入
        /// </summary>
        ME108=108,

        /// <summary>
        /// 通知传感器监控界面重新获取刷新
        /// </summary>
        ME109= 109,

        /// <summary>
        /// 储位编辑后，通知界面刷新
        /// </summary>
        ME110 = 110,

        #endregion




        #region 与PLC之间通信


        /// <summary>
        /// 下发设备初始回原点
        /// </summary>
        ME200 = 200,

        /// <summary>
        /// 下发PLC指定储位信息
        /// </summary>
        ME201 = 201,

        /// <summary>
        /// 设置PLC运行模式
        /// </summary>
        ME202 = 202,
        /// <summary>
        /// 设置PLC运行速度
        /// </summary>
        ME203 = 203,

        /// <summary>
        /// 软件启动PLC初始化
        /// </summary>
        ME204 = 204,


        /// <summary>
        /// 后台常驻监控初始化
        /// </summary>
        ME205 = 205,


        /// <summary>
        /// 执行看门狗 PLC生命检测
        /// </summary>
        ME206 = 206,

        /// <summary>
        ///执行软件看门狗
        /// </summary>
        ME207 = 207,

 
        /// <summary>
        /// 执行获取是否有输液袋入队信号
        /// </summary>
        ME208 = 208,
        
        /// <summary>
        /// 执行获取回原点状态
        /// </summary>
        ME209=209,
        #endregion




        #region 监控线程之间的通信

        /// <summary>
        /// 全局中断通知销毁所有定时
        /// </summary>
        ME300 = 300,
  
        /// <summary>
        /// 开启看门狗
        /// </summary>
        ME301 = 301,
        
        /// <summary>
        /// 开启信号监控
        /// </summary>
        ME302 = 302,

        /// <summary>
        /// 开启输液袋入队信号监控
        /// </summary>
        ME303 = 303,
        
        /// <summary>
        /// 开启扫描任务队列
        /// </summary>
        ME304=304,
        
        #endregion

    
    }
}
